# -*- coding: utf-8 -*-
'''
class GeYuSheng:
	def __init__(self,name,age):
		self.name = name
		self.age = age
	def get_name(self):
		return self.name
my_info = GeYuSheng("geyusehng","24")
print my_info.name
print my_info.age
print GeYuSheng.get_name




@classmethod
'''
'''
def get_age(cls):
	return cls.age
p1 = GeYuSheng('Bob',12)
print p1.get_age()
'''

class Person(object):
	def __init__(self,name,age): 
		self.name = name
		self.__age=age
	def get_name(self):
		return self.name
'''
	@classmethod
	def how_many(cls):
		return cls.class
'''	
p1 = Person('Bob',12)
print p1.get_name()



class father(object):
    def __init__(self, name):
        self.name=name
        print "name:", self.name
    def get_name(self):
        return 'father ' + self.name

class GeYuSheng(object):
    def __init__(self, name):
        super(GeYuSheng, self).__init__(name)
        print "hi"
        self.name =  name
    def get_parent_name(self):
        return father.get_name()
if __name__=='__main__':
    me=GeYuSheng()
    print me.get_parent_name()
	
	
